
//------------------------------------------------------------------------------

namespace Apps.Models
{
     using System.ComponentModel.DataAnnotations.Schema;
    using System;
    using System.Collections.Generic;
    
    [Table("SPL_WARECATEGORY")] 
     public partial class Spl_WareCategory
    {
        public Spl_WareCategory()
        {
            this.Spl_WareCategory1 = new HashSet<Spl_WareCategory>();
            this.Spl_WareDetails = new HashSet<Spl_WareDetails>();
        }
    
        [Column("ID"), System.ComponentModel.DataAnnotations.Key] 
     public string Id { get; set; }
        [Column("NAME")] 
     public string Name { get; set; }
        [Column("CODE")] 
     public string Code { get; set; }
        [Column("PARENTID")] 
     public string ParentId { get; set; }
        [Column("REMARK")] 
     public string Remark { get; set; }
        [Column("CREATETIME")] 
     public System.DateTime CreateTime { get; set; }
        [Column("ENABLE")] 
     public bool Enable { get; set; }
    
        public virtual ICollection<Spl_WareCategory> Spl_WareCategory1 { get; set; }
        public virtual Spl_WareCategory Spl_WareCategory2 { get; set; }
        public virtual ICollection<Spl_WareDetails> Spl_WareDetails { get; set; }
    }
}
